<%--
  Created by IntelliJ IDEA.
  User: cnprinces
  Date: 13-1-23
  Time: 上午10:42
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="/include.inc.jsp" %>


<form action="/basesetting/package!addGoodsPackage" method="post"
      class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">

     <input type="hidden" name="goodsPackage.id" value="${goodsPackage.id}"/>

    <div class="pageContent">
        <div class="pageFormContent" layoutH="100">
            <fieldset>
                <legend>套系信息</legend>
                <dl>
                    <dt>套系名称:</dt>
                    <dd><input name="goodsPackage.packageName" class="required" type="text" value="${goodsPackage.packageName}"/></dd>
                </dl>
                <dl>
                    <dt>录单人:</dt>
                    <dd><input class="required" name="goodsPackage.inputName" type="text" value="${loginedUser.ename}"
                               disabled="true"/></dd>
                </dl>
                <dl>
                    <dt>入册张数:</dt>
                    <dd><input name="goodsPackage.photoCount" class="required digits" type="text" value="${goodsPackage.photoCount}"/></dd>
                </dl>
                <dl>
                    <dt>入盘张数:</dt>
                    <dd><input name="goodsPackage.cdCount" class="required digits" type="text" value="${goodsPackage.cdCount}"/></dd>
                </dl>
                <dl>
                    <dt>商品买入价格:</dt>
                    <dd><input name="goodsPackage.packageBuyPrice" class="required number"  type="text" value="${goodsPackage.packageBuyPrice}"/></dd>
                </dl>
                <dl>
                    <dt>商品卖出价格:</dt>
                    <dd><input name="goodsPackage.packageSellPrice" class="required number"  type="text" value="${goodsPackage.packageSellPrice}"/></dd>
                </dl>
                <dl>
                    <dt>相册数量:</dt>
                    <dd><input name="goodsPackage.boxCount" class="required digits" type="text" value="${goodsPackage.boxCount}"/>
                    </dd>
                </dl>
                <dl>
                    <dt>是否启用:</dt>
                    <dd><input name="goodsPackage.packageStatus" type="radio" value="0" checked=""/>是
                        <input name="goodsPackage.packageStatus" type="radio" value="1"
                               <c:if test="${goodsPackage.packageStatus==1}">checked="true" </c:if> />否
                    </dd>
                </dl>

                <dl>
                    <dt>描述:</dt>
                    <dd><input name="goodsPackage.packageDescribe" type="text" value="${goodsPackage.packageDescribe}"
                               size="100"/>
                    </dd>
                </dl>
            </fieldset>


        </div>
        <div class="formBar">
            <ul>
                <li>
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button type="submit">保存</button>
                        </div>
                    </div>
                </li>
                <li>
                    <div class="button">
                        <div class="buttonContent">
                            <button class="close" type="button">关闭</button>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
    </div>
</form>
